package com.yzy.soft.common.persistence.dao;
//import com.yzy.ifi.common.persistence.model.MetadetaDatabase;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.yzy.soft.common.persistence.model.HtmlTable;
import com.yzy.soft.common.persistence.model.HtmlTableCol;
import com.yzy.soft.common.persistence.model.MetadataDatabase;
import org.springframework.data.repository.query.Param;

import java.util.List;


/**
 *<p>
 * 描述：HtmlTableColMapper 接口
 * @author Yinzhiyuan
 * @date 2018-12-19 01:44:11
 */
public interface HtmlTableColMapper extends BaseMapper<HtmlTableCol> {
    Integer status(@Param("id") Integer id);

    Integer batchNuUseIds(@Param("ids") List<Integer> ids);
    Integer batchUseIds(@Param("ids") List<Integer> ids);

    void deleteByHtmlId(@Param("htmlId") Integer htmlId);
    void deleteByTableId(@Param("tableId") Integer tableId);
    List<HtmlTableCol> selectAllHtml();
    List<HtmlTableCol> selectAllTable();

}
